package net.lab1024.sa.admin.util;

import cn.hutool.core.lang.Snowflake;
import cn.hutool.core.util.IdUtil;

public class IdGenerator {
    private static final Snowflake snowflake = IdUtil.getSnowflake(1, 1);
//            createSnowflake(1, 1);

    public static long generateId() {
        return snowflake.nextId();
    }
}
